<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
    <!--
    v-bind:动态设置标签属性的
    v-bind:属性名=“表达式”
    -->
     <img v-bind:src="imgUrl" v-bind:title="msg" alt="">
    </div>

    <script src="https://cdn.jsdelivr.net/npm/vue@2.7.16/dist/vue.js"></script>
    <script>
        /**
         * 目标：
         *    使用v-bind指令动态绑定标签属性
         *  
         */
        const app = new Vue({
            el:'#app',
            data:{
                imgUrl:'../image/photo.JPG',
                msg:'hello'
            },
        })


    </script>
</body>
</html>